package cn.com.paycn.ken.hbm;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="bbp_params")
public class Params
{

  @Id
  @Column(name="code")
  private Integer code;

  @Column(name="name", length=30)
  private String name;

  @Column(name="str_val")
  private String strValue;

  @Column(name="int_val")
  private Integer intValue;

  @Column(name="decimal_val", scale=4, precision=14)
  private BigDecimal decimalValue;

  public Integer getCode()
  {
    return this.code;
  }

  public void setCode(Integer code) {
    this.code = code;
  }

  public Integer getIntValue() {
    return this.intValue;
  }

  public void setIntValue(Integer intValue) {
    this.intValue = intValue;
  }

  public BigDecimal getDecimalValue() {
    return this.decimalValue;
  }

  public void setDecimalValue(BigDecimal decimalValue) {
    this.decimalValue = decimalValue;
  }

  public String getName() {
    return this.name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getStrValue() {
    return this.strValue;
  }

  public void setStrValue(String strValue) {
    this.strValue = strValue;
  }
}